package com.ren.code.codegen.metadata;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
/**
 * @Title: EntityInfo<br>
 * @Description:  <br>
 * Copyright: eastcom Copyright (C) 2018 <br>
 * @Author <a href="mailto:chenbr@eastcom-sw.com">chenbr</a><br>
 * @version V1.0
 * @creatdate 2021/11/10
 **/

@EqualsAndHashCode(callSuper = false)
@Data
public class EntityInfo extends BaseClassInfo {

    /**
     * 表名
     */
    private String tableName;

    /**
     * 主键类名
     */
    private IdInfo id;

    /**
     * 所有< 属性名, 类 >
     */
    private List<FieldInfo> fields;

    /**
     * 注解
     */
    private List<AnnotationInfo> annotations;

}
